# -*- coding: utf-8 -*-
from odoo import models, fields, api
from odoo.exceptions import ValidationError

class Empcodedepkind(models.Model):

    _name = 'emp.codedepkind'
    _rec_name = 'value1'


    calenderweek_ids = fields.One2many(string='周行事曆', comodel_name='emp.calenderweek',inverse_name='depkind')
    calenderspecial_ids = fields.One2many(string='特殊行事曆', comodel_name='emp.calenderspecial', inverse_name='depkind')
    codedetno = fields.Char('部別編號')
    codeno = fields.Char()
    value3 = fields.Char()
    value1 = fields.Char('部別')
    value2 = fields.Char()
    serno = fields.Char()
    value4 = fields.Char()
    value5 = fields.Char()
    note = fields.Char()
    yymmdd = fields.Datetime()
    value6 = fields.Char()
    value7 = fields.Char()
    value8 = fields.Char()
    value9 = fields.Char()
    value10 = fields.Char()